import mitt from 'mitt';

const emitter = mitt();

const bus = {};

bus.$on = emitter.on;
bus.$emit = emitter.emit;
bus.$off = emitter.off;

export default bus;
